@import "../../res/theme/xxhz";

.swiperRecommendRoot {
  width: 100%;
  padding-bottom: 20px;

  .title-box {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 30px;
    align-items: center;

    .title {
      font-size: 32px;
      font-weight: bold;
      color: #454545;
    }

    .more {
      font-size: 26px;
      color: #666;
      display: flex;
      align-items: center;

      .icon {
        width: 26px;
        height: 26px;
        border-radius: 14px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        margin-left: 10px;
      }
    }
  }

  .content-box {
    width: 100%;
    .snapped-up{
      font-weight: bold;
      padding: 8Px 4Px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 32px;
      text-align: center;
      color: #000;
      background: #ffdd09;
      font-size: 22px;
    }
    .swiper-recommend-price-box{
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding-bottom: 10px;
    }

    .m-min-b-market {
      position: relative;
      bottom: -5.2Px;
    }

    .m-min-big {
      position: relative;
      bottom: -6.35Px !important;
    }

    .scroll-view {
      width: 100%;

      .scroll {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        padding: 0 10px;

        .scroll-item {
          width: 40vw;
          flex-shrink: 0;
          flex-grow: 0;
          margin: 0 10px;
          position: relative;

          .box {
            width: 100%;
            overflow: hidden;
            font-size: 24px;
            color: #000;
            box-sizing: border-box;
            background-color: white;
            border-radius: 16px !important;

            .img-box {
              width: 100%;

              .img {
                width: 100%;
                height: 170px;
                display: block;
              }
            }

            .title {
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
              margin: 10px 16px 10px;
            }

            .price {
              font-size: 18px;
              color: #888888;
              padding: 0 16px 10px;
              height: 50px;
              white-space: nowrap;

              .symbol {
                font-family: Avenir;
                color: $priceColor;
              }

              .number {
                color: $priceColor;
                font-size: 35px;
                padding: 0 5px;
                font-weight: bold;
              }
            }
          }

          .label {
            position: absolute;
            top: 0;
            left: 0;
            margin-top: 0;
            background-image: linear-gradient(to right, #fd5f20, #ff8f21);
            border-bottom-right-radius: 30px;
            width: 120px;
            height: 46px;
            line-height: 46px;
            text-align: center;
            font-size: 22px;
            color: white;

            .number {
              padding-left: 4px;
            }
          }
        }
      }
    }
  }

  .shangxin-today-block-item-bottom-box {
    padding: 5px 13px;
    color: #fff;
    font-size: 20px;
    background-color: $priceColor;
    display: inline-block;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    margin-right: 3px;
  }

  .shangxin-today-block-item-bottom-original {
    color: $originalPriceColor;
    font-family: Avenir;
    text-decoration: line-through;
    font-size: 24px;
  }
  .shangxin-today-block-item-bottom-original::after{
    content: "";
  }

  .inline {
    display: inline;
  }
}
